Skip to content

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Aug 3, 2016

I noticed a few problems with Plotly.validate and isLinkedToArray attributes (which are becoming more and more numerous). Here are a few fixes.

- by default, input info array must have same length as the
  declared version, now with 'freeLength' this doesn't have to be.
- set freeLength to true for the updatem menus 'args' attribute
- so that we can keep track of 'skipped-over' containers
  e.g. 'buttons' items are skipped over when their content
  is invalid
- make sure that invalid and skipped-over containers
  lead to validation errors.
- make sure to track the input index to match schema/value
  with the correct input container
@etpinard etpinard added bug something broken status: reviewable labels Aug 3, 2016
@etpinard etpinard added this to the v1.16.0 milestone Aug 3, 2016
@etpinard etpinard merged commit 4b64345 into master Aug 4, 2016
@etpinard etpinard deleted the validate-missing-items branch August 4, 2016 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant